import request from '@/utils/request'
/**
 * 厨师列表
 * @param {Object} params
 */
export function chef_list(params) {
	return request.post('/app/apChef/list', params);
}


/**
 * 厨师详情
 * @param {Object} params
 */
export function chef_detail(params) {
	return request.getLoading('/app/apChef/query', params);
}


/**
 * 预约厨师
 * @param {Object} params
 */
export function appointment_chef(params) {
	return request.postLoading('/app/apUserChefRecord/appointment', params);
}


/**
 * 预约厨师列表
 * @param {Object} params
 */
export function appointment_list(params) {
	return request.postLoading('/app/apUserChefRecord/list', params);
}


/**
 * 厨师预约提交审核
 * @param {Object} params
 */
export function chef_verify(params) {
	return request.postLoading('/app/apChef/verify', params);
}